package com.yueya.common.constant;

/**
 * 响应参数code常量
 * 
 * @author 杨枫
 *
 */
public class CodeConst {

	// 成功
	public final static String SUCCESS = "10000";
	// JSON格式不对
	public final static String JSONFORMAT_WRONG = "10001";
	// 缺少TOKEN
	public final static String TOKEN_DISAPPEAR = "10002";
	// TOKEN校验失败
	public final static String TOKEN_CHECKFAIL = "10003";

	// 失败
	public final static String ERROR = "20000";
	// 警告
	public final static String WARN = "20001";
	
	//知识表保存失败
	public final static String KONWLEDGE_SAVE_FAIL = "92000";	
	//知识文本内容表保存失败
	public final static String KONWLEDGE_TEXT_SAVE_FAIL = "92001";
	//知识表更新失败
	public final static String KONWLEDGE_UPDATE_FAIL = "92003";	
	//知识文本内容表更新失败
	public final static String KONWLEDGE_TEXT_UPDATE_FAIL = "92004";
	//查找的知识不存在
	public static final String KNOWLEDGE_NOT_FOUND = "92005";
	///查找的知识文本不存在
	public static final String KNOWLEDGE_TEXT_NOT_FOUND = "92006";
	//知识删除失败
	public static final String KNOWLEDGE_DELETE_FAIL = "92007";
	
	
	//捐赠添加失败
	public static final String DONATE_SAVE_FAIL = "93001";
	//捐赠不存在
	public static final String DONATE_NOT_FOUND = "93002";
	//捐赠更新失败
	public static final String DONATE_UPDATE_FAIL = "93003";
	//捐赠删除失败
	public static final String DONATE_DELETE_FAIL = "92004";  

}
